#define _CRT_SECURE_NO_WARNINGS 1
#include"LIst.h"
void test()
{
	ListNode* Plist = NULL;
	Plist = CreatHeadNode();
	ListPushBack(Plist, 1);
	ListPrint(Plist);

	ListPushBack(Plist, 2);
	ListPrint(Plist);

	ListPushBack(Plist, 3);
	ListPrint(Plist);

	ListPushFront(Plist, 90);
	ListPrint(Plist);

	ListPopBack(Plist);
	ListPrint(Plist);

	ListPopFront(Plist);
	ListPrint(Plist);

	ListNode* ret = ListFind(Plist,2);
	ListInsert(ret, 33);
	ListPrint(Plist);

	ret = ListFind(Plist,33);
	ListEaser(ret);
	ListPrint(Plist);




	ListDestory(Plist);
}
int main()
{
	test();
	return 0;
}